package com.cscj.android.repository.network.api.service

import com.cscj.android.repository.network.api.ApiResponse
import com.cscj.android.repository.network.api.model.rank.Rank
import retrofit2.http.Field
import retrofit2.http.FormUrlEncoded
import retrofit2.http.POST

interface RankService {


    @FormUrlEncoded
    @POST("/rankList/getNewListByCateLimit")
    suspend fun loadRank(@Field("cate_id") type:Int, @Field("limit") limit: Int): ApiResponse<List<Rank>>

}